package com.o2o.util.captcha;
import java.io.*;
public class Test{
public static void main(String[] args) throws FileNotFoundException
    {
		long a = System.currentTimeMillis();
        Captcha captcha = new SpecCaptcha(150,40,5);// png格式验证码
        captcha.out(new FileOutputStream("d:/1.png"));
        long b = System.currentTimeMillis();
        captcha = new GifCaptcha(150,40,5);//   gif格式动画验证码
        captcha.out(new FileOutputStream("d:/1.gif"));
        long c = System.currentTimeMillis();
        System.out.println(a+"///"+b+"////"+c);
    }
}